package com.lostandfound.service;

import java.util.List;
import java.util.Map;

import com.lostandfound.entity.User;

public interface UserService extends BaseService<User>{

	/**
	 * 根据账号查询用户
	 * @param userCode
	 * @return
	 */
	User selectByUserCode(String userCode);
	
	/**
	 * 分页查询用户
	 * @param start
	 * @param size
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	List listUserByPage(Map<String, Object> pagemap);
	
	/**
	 * 获取用户个数
	 * @return
	 */
	int Count(Map<String, Object> pagemap);

	/**
	 * 批量删除用户
	 * @param uids
	 */
	void deleteUserByBranch(Long[] uids);
}
